package com.yiranLDT;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName("tb_user")
public class User {
    @TableId(type= IdType.ASSIGN_ID)//雪花算法
    private Long id;
    private String username;
    private String password;
    private String salt;
    private Integer departmentId;//部门ID  对应部门表
    private Integer positionId;//职位ID   对应职位表
    private Integer status;
    @TableLogic
    private Integer deleted;//逻辑删除标识位置。
    @TableField(exist=false)
    private Integer testNumber;//测试注解

}
